#ifndef _HTTPTEST_H_
#define _HTTPTEST_H_

#include <QDialog>
#include "plotter.h"

class QLabel;
class QDateEdit;
class QCheckBox;
class QSlider;
class QSpinBox;

/*class GraphControl {
	Q_OBJECT;
public:
	GraphControl() {}
	
signals:
	addCraph( int id );
	deleteGraph( int id );

private:*/
	

class TehAnaliz : public QDialog {
	Q_OBJECT;
public:
	TehAnaliz( QWidget *parent = 0 );

signals:
	void updatePlot( int x, int y );
	void fitTableWidthHeight();
private slots:
	void calcComissions();
private:
	bool isRunning;
	int interval;

	FirstPlot * plot;
	
	QDateEdit * startDateEdit;
	QDateEdit * endDateEdit;
	QCheckBox * comissionCheckbox;
	QSlider * comissionSlider;
	QPushButton *startButton;
};

#endif
